package com.cmc.cloud.cmclink.doc.vo.specialcargocntrvo;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 特种货审批的箱型信息分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 特种货审批的箱型信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SpecialCargoCntrPageReqVO extends PageParam {

    @Schema(description = "特种货申请主id", example = "2805")
    private Long applyId;

    @Schema(description = "箱型", example = "2")
    private String cntrType;

    @Schema(description = "箱尺寸")
    private String cntrSize;

    @Schema(description = "箱量")
    private Integer qty;

    @Schema(description = "货物毛重（Kg）")
    private BigDecimal grossWgt;

    @Schema(description = "货物净重 （Kg）")
    private BigDecimal netWgt;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
